const Base = require('./base.js');

module.exports = class extends Base {
  async setAction() {
    await this.model('set').update(this.post())
    return this.success();
  }
  async setDataAction() {
    const data = await this.model('set').find()
    return this.success(data);
  }
};
